package com.easy.frame.servers.sys.service.type;

import com.baomidou.mybatisplus.extension.service.IService;
import com.easy.frame.base.api.pojo.PageDTO;
import com.easy.frame.base.basic.ServiceResponse;
import com.easy.frame.servers.sys.entity.SysBusinessType;
import com.easy.frame.servers.sys.vo.SysBusinessTypeVO;

import java.util.List;

/**
 * <p>
 * 业务类型表 服务类
 * </p>
 *
 * @author tp
 * @since 2021-01-20
 */
public interface SysBusinessTypeService extends IService<SysBusinessType> {

    List<SysBusinessTypeVO> selectForPage(PageDTO<SysBusinessType> param, Long tenantId, Integer isDisplay);

    List<SysBusinessType> selectByTenantId(Long tenantId);

    SysBusinessTypeVO businessById(Long id);

    List<String> selectNameByCodes(List<String> businessTypeList);

    ServiceResponse<List<SysBusinessType>> listTenant(Long tenantId);

}
